﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Glimpse.Mvc.AlternateType;
using Realm.Web.Models;

namespace Realm.Web.Controllers
{
    public class UserController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        [HttpPost]
        public ActionResult Login(LoginRequest loginRequest)
        {

            return null;
        }

        public ActionResult Register()
        {
            return View("Register");
        }

        [HttpPost]
        public ActionResult RegisterUser(RegisterRequest registerRequest)
        {
            return null;
        }

        public ActionResult Logout()
        {
            // todo do something with SiteUserVm
            return RedirectToAction("Index", "Home");
        }
    }
}
